package brand

type Pagination struct {
	Page     int32 `form:"pn" binding:"gt=0"`
	PageSize int32 `form:"psize" binding:"gt=0"`
}

type Brand struct {
	ID int32 `uri:"id" binding:"required,gt=0"`
}

type Form struct {
	Name string `form:"name" json:"name" binding:"required,min=3,max=10"`
	Logo string `form:"logo" json:"logo" binding:"url"`
}

type CategoryBrand struct {
	ID int32 `uri:"id" binding:"required,gt=0"`
}

type CategoryBrandForm struct {
	CategoryId int32 `form:"category_id" json:"category_id" binding:"required"`
	BrandId    int32 `form:"brand_id" json:"brand_id" binding:"required"`
}

type Category struct {
	ID int32 `uri:"id" binding:"required,gt=0"`
}
